package stringbuffer_;

/**
 * @author wly
 * @version V1.0.0
 * @date 2022/12/22 16:11
 */
public class StringBuffer01 {
    public static void main(String[] args) {
        StringBuffer stringBuffer = new StringBuffer();
        StringBuffer sb2 = new StringBuffer("HELLO");
        StringBuffer sb3 = sb2.append("abc");
        System.out.println(sb3);
        String toString = sb3.toString();
        String toStr2 = new String(sb2);
        System.out.println(toStr2);
    }
}
